package com.jkt.rms.businessservice;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.jkt.rms.business.Project;
import com.jkt.rms.commons.utils.RMSException;
import com.jkt.rms.vo.ProjectVO;

public interface ProjectBusinessService {
	public ProjectVO saveProject(ProjectVO projectVO) throws RMSException;
	public List<Project> findByCriteria(DetachedCriteria crit, int offset,
			int maxResults); 
	public List<Project> findByCriteria(DetachedCriteria crit); 
	public List<Project> searchProjects(ProjectVO projectVO);
	public Project findProjectById(int projectId);
	public void updateProject(ProjectVO projectVO)throws RMSException;
}
